package com.dorm.cj.decorator;

public class LoggerPrint implements Logger {

    Logger logger;

    public LoggerPrint(Logger logger) {
        this.logger = logger;
    }

    @Override
    public void error(String value) {
        logger.error(value);
    }

    @Override
    public void info(String value) {
        logger.info(value);
    }
}
